import Page
import allure
from selenium import webdriver
from Base.base_data import Setting as a

@allure.step(title="生成driver")
def get_driver():
    driver = webdriver.Chrome()
    driver.maximize_window()
    driver.get(a.test)
    return driver

@allure.step(title="生成driver_kool")
def get_driver_kool():
    driver = webdriver.Chrome()
    driver.maximize_window()
    driver.get('https://www.koolearn.com')
    return driver



